package com.zhr.tea.presenter;

import com.zhr.tea.model.ICarModel;
import com.zhr.tea.model.impl.CarModelImpl;

/**
 * .::::.
 * .::::::::.
 * :::::::::::
 * ..:::::::::::'
 * '::::::::::::'
 * .::::::::::
 * '::::::::::::::..
 * ..::::::::::::.
 * ``::::::::::::::::
 * ::::``:::::::::'        .:::.
 * ::::'   ':::::'       .::::::::.
 * .::::'      ::::     .:::::::'::::.
 * .:::'       :::::  .:::::::::' ':::::.
 * .::'        :::::.:::::::::'      ':::::.
 * .::'         ::::::::::::::'         ``::::.
 * ...:::           ::::::::::::'              ``::.
 * ```` ':.          ':::::::::'                  ::::..
 * '.:::::'                    ':'````..
 * Created by 毛懿 on 2016/11/1 15:07.
 * 邮箱：1334964028@qq.com
 */

public class ModelFactory {
    public static ICarModel iCarModel;

    public static ICarModel getiCarModel() {
        if (iCarModel == null) {
            iCarModel = new CarModelImpl();
        }
        return iCarModel;
    }
}
